/**  
 * @Title:  ServletInitializer.java   
 * @Package com.platform   
 * @Description: (用一句话描述该文件做什么)   
 * @author: <a href="mailto:15909910367@163.com">吴先生</a> 
 * @date:   2021年12月9日 下午4:54:16   
 * @version V1.0 
 * @Copyright: 2021 吴先生.
 */
package com.platform;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**   
 * @ClassName:  ServletInitializer   
 * @Description: 容器启动类 
 * @author: <a href="mailto:15909910367@163.com">吴先生</a>  
 * @date:   2021年12月9日 下午4:54:16   
 *     
 * @Copyright: 2021 吴元森.  
 */
public class ServletInitializer extends SpringBootServletInitializer{

	private static final Logger logger = LoggerFactory.getLogger(ServletInitializer.class);

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		logger.info("容器启动主类");
		return application.sources(new Class[] {PlatformSingleApplication.class});
	}
	
}
